home *** CD-ROM | disk | FTP | other *** search
/ Komputer for Alle 2002 #4 / K-CD-4-2002.ISO / Empire Earth / EEDemo.exe / Disk1 / Random Map Scripts / Large Islands.rmv < prev    next >
Encoding:
Text File  |  2001-09-27  |  6.7 KB  |  199 lines

  1. ////////////////////////////////////////////////////////////////////
  2. //
  3. // Large Islands.rmv
  4. //
  5. // Input file for the large islands map type.
  6. //
  7. // Copyright (c) 1998, Stainless Steel Studios, Inc. All rights reserved.
  8. // PROPRIETARY and CONFIDENTIAL.
  9. //
  10. // $Author: Scott Marison $
  11. // $Date: 7/24/01 3:29p $
  12. // $Revision: 35 $
  13. //
  14. ////////////////////////////////////////////////////////////////////
  15.  
  16.  
  17. //////////////////////////////////////////////////////////////////////
  18. // Define the map generator we will use
  19. //////////////////////////////////////////////////////////////////////
  20.  
  21. UseMapGenerator        "Default"
  22. StringTableID        27003
  23.  
  24.  
  25. //////////////////////////////////////////////////////////////////////
  26. // Files we always include
  27. //////////////////////////////////////////////////////////////////////
  28.  
  29. #include "Common\Map Climate"
  30. #include "Common\Common Conditions"
  31. #include "Common\Common Terrain Painting"
  32. #include "Common\Common Initial Units"
  33. #include "Common\Common Forests"
  34.  
  35.  
  36. //////////////////////////////////////////////////////////////////////
  37. // initialize some defintions. it is possible that an included file 
  38. // might redefine these.
  39. //////////////////////////////////////////////////////////////////////
  40. #define        (kShallowsElevation, -1)
  41. #define        (kShallowsWidth, 4)
  42. #define        (kMaxShallowConnectionsPerPlayer, 1)
  43. #define        (kGenerateShallows, false)
  44.  
  45.  
  46. //////////////////////////////////////////////////////////////////////
  47. // Files we include based upon map size - these files will define
  48. // everything we need to set the random map attributes for large island 
  49. // random maps.
  50. //////////////////////////////////////////////////////////////////////
  51. #if        IsTinyMap
  52. #include "Large Islands\Large Islands Tiny"
  53. #elif    IsSmallMap
  54. #include "Large Islands\Large Islands Small"
  55. #elif    IsMediumMap
  56. #include "Large Islands\Large Islands Medium"
  57. #elif    IsLargeMap
  58. #include "Large Islands\Large Islands Large"
  59. #elif    IsHugeMap
  60. #include "Large Islands\Large Islands Huge"
  61. #elif    IsGiganticMap
  62. #include "Large Islands\Large Islands Gigantic"
  63. #endif
  64.  
  65.  
  66. //////////////////////////////////////////////////////////////////////
  67. // Attributes we set
  68. //////////////////////////////////////////////////////////////////////
  69.  
  70. //////////////////////////////////////////////////////////////////////
  71. // map elevation attributes
  72. MinIntElevation                    kMinIntElevation
  73. MaxIntElevation                    kMaxIntElevation
  74. InitialElevation                0
  75. FlatElevation                    0
  76. ElevationScale                    kElevationScale
  77. HeightMapChaos                    kHeightMapChaos
  78.  
  79.  
  80. //////////////////////////////////////////////////////////////////////
  81. // land/water attributes
  82. PercentLand                        kPercentLand
  83. LandElevationThreshold            0
  84. WaterBorder                        kWaterBorder
  85. RiverWidth                        kRiverWidth
  86. TeamGrowth                        false
  87.  
  88.  
  89. //////////////////////////////////////////////////////////////////////
  90. // shallows attributes
  91. CoastalToDeeperWaterPercentage    kCoastToDeepWaterPercentage
  92. ShallowsElevation                kShallowsElevation
  93. ShallowsWidth                    kShallowsWidth
  94. MaxShallowConnectionsPerPlayer    kMaxShallowConnectionsPerPlayer
  95. GenerateShallows                kGenerateShallows
  96.  
  97.  
  98. //////////////////////////////////////////////////////////////////////
  99. // player attributes
  100. PlayerInnerRadius                kPlayerInnerRadius
  101. PlayerOuterRadius                kPlayerOuterRadius
  102. PlayerPercentFlat                kPlayerPercentFlat
  103. PlayerTreePercentage            kPlayerTreePercentage
  104. PlayerLandChaos                    kPlayerLandChaos
  105. PlayerLandClumps                kPlayerLandClumps
  106. PlayerFlatChaos                    kPlayerFlatChaos
  107. PlayerFlatClumps                kPlayerFlatClumps
  108. MaxAngleBetweenTeamMembers        kMaxAngleBetweenTeamMembers
  109.  
  110.  
  111. //////////////////////////////////////////////////////////////////////
  112. // general pushing attributes
  113. MinimumStartPositionToMapEdge    kMinimumStartPositionToMapEdge
  114. OuterPushFromMapCenter            kOuterPushFromMapCenter
  115. InnerPushFromMapCenter            kInnerPushFromMapCenter
  116.  
  117.  
  118. //////////////////////////////////////////////////////////////////////
  119. // general neutral attributes
  120. NeutralInnerRadius                kNeutralInnerRadius
  121. NeutralOuterRadius                kNeutralOuterRadius
  122.  
  123.  
  124. //////////////////////////////////////////////////////////////////////
  125. // inner neutral attributes
  126. NumInnerNeutrals                kNumInnerNeutrals
  127. InnerNeutralPercentLand            kInnerNeutralPercentLand
  128. InnerNeutralPercentFlat            kInnerNeutralPercentFlat
  129. InnerNeutralTreePercentage        kInnerNeutralTreePercentage
  130. InnerNeutralLandChaos            kInnerNeutralLandChaos
  131. InnerNeutralLandClumps            kInnerNeutralLandClumps
  132. InnerNeutralFlatChaos            kInnerNeutralFlatChaos
  133. InnerNeutralFlatClumps            kInnerNeutralFlatClumps
  134.  
  135.  
  136. //////////////////////////////////////////////////////////////////////
  137. // outer neutral attributes
  138. NumOuterNeutrals                kNumOuterNeutrals
  139. OuterNeutralPercentLand            kOuterNeutralPercentLand
  140. OuterNeutralPercentFlat            kOuterNeutralPercentFlat
  141. OuterNeutralTreePercentage        kOuterNeutralTreePercentage
  142. OuterNeutralLandChaos            kOuterNeutralLandChaos
  143. OuterNeutralLandClumps            kOuterNeutralLandClumps
  144. OuterNeutralFlatChaos            kOuterNeutralFlatChaos
  145. OuterNeutralFlatClumps            kOuterNeutralFlatClumps
  146.  
  147.  
  148. //////////////////////////////////////////////////////////////////////
  149. // resource attributes
  150. MaxResourceElevation            kMaxResourceElevation
  151. ResourceToEdgeDistance            kResourceToEdgeDistance    
  152. ResourceToWaterDistance            kResourceToWaterDistance    
  153.  
  154. ResourcePerPlayer                (Animal,        kAnimalPerPlayer)
  155. ResourcePerNeutralLand            (Animal,        kAnimalPerNeutral)
  156.                                             
  157. ResourcePerPlayer                (Berry,            kBerryPerPlayer)
  158. ResourcePerNeutralLand            (Berry,            kBerryPerNeutral)
  159.                                             
  160. ResourcePerPlayer                (Fish,            kFishPerPlayer)
  161. ResourcePerNeutralLand            (Fish,            kFishPerNeutral)
  162.                                             
  163. ResourcePerPlayer                (Gold,            kGoldPerPlayer)
  164. ResourcePerNeutralLand            (Gold,            kGoldPerNeutral)
  165.                                             
  166. ResourcePerPlayer                (Steel,            kSteelPerPlayer)
  167. ResourcePerNeutralLand            (Steel,            kSteelPerNeutral)
  168.                                             
  169. ResourcePerPlayer                (Stone,            kStonePerPlayer)
  170. ResourcePerNeutralLand            (Stone,            kStonePerNeutral)
  171.                                             
  172. ResourcePerPlayer                (Tree,            kTreePerPlayer)
  173. ResourcePerNeutralLand            (Tree,            kTreePerNeutral)
  174.                                             
  175.  
  176. //////////////////////////////////////////////////////////////////////
  177. // forest attributes
  178. ForestFreeRadius                kForestFreeRadius
  179. ForestsPerPlayer                kForestsPerPlayer
  180. ForestChaosLevel                kForestChaosLevel    
  181. MaxClumpsPerForest                kMaxClumpsPerForest
  182. MaximumTreesPerClump            10000
  183. MaxTreeLoopCount                200
  184.  
  185.  
  186. //////////////////////////////////////////////////////////////////////
  187. // misc. attributes
  188. ConvergentSampleSize            32
  189. ConvergentThreshold                1.0
  190. MaxIterationsClumpGrowth        200                
  191. MaxLoopCount                    200
  192. MapCharacteristics                IslandMap
  193.  
  194.  
  195. //////////////////////////////////////////////////////////////////////
  196. // debug flags - for debugging use only
  197. FilterHeightMap                    false
  198. TestingLandDistribution            false
  199.